home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.19980424-19980901
/
000419_news@newsmaster….columbia.edu _Sun Aug 30 10:15:24 1998.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
3KB
Return-Path: <news@newsmaster.cc.columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id KAA15532
for <kermit.misc@watsun.cc.columbia.edu>; Sun, 30 Aug 1998 10:15:22 -0400 (EDT)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id KAA13671
for kermit.misc@watsun; Sun, 30 Aug 1998 10:15:21 -0400 (EDT)
Path: news.columbia.edu!panix!news-peer.gip.net!news.gsl.net!gip.net!newshub.northeast.verio.net!newsserver.jvnc.net!post.servtech.com!hal9000.buf.servtech.com!spamguard!rchandra
From: rchandra.spamguard@spamguard.letter.com
Newsgroups: comp.protocols.kermit.misc
Subject: Re: How to OUTPUT curly braces?
Date: 30 Aug 1998 14:08:24 GMT
Organization: Verio New York
Lines: 42
Message-ID: <6sbmco$5po$1@post.servtech.com>
References: <lJ6E1.1079$B4.1278308@news.inreach.com> <6rsai6$n7e$1@apakabar.cc.columbia.edu>
Reply-To: rchandra.spamguard@spamguard.letter.com
NNTP-Posting-Host: hal9000.buf.servtech.com
Originator: 0x804b6c0@0x804b560
Xref: news.columbia.edu comp.protocols.kermit.misc:9149
In article <6rsai6$n7e$1@apakabar.cc.columbia.edu>,
Frank da Cruz <fdc@watsun.cc.columbia.edu> wrote:
>In article <lJ6E1.1079$B4.1278308@news.inreach.com>,
>Dick Repasky <d_repasky@inreach.com> wrote:
>: How do I send curly braces {} using the output command in IBM-PC
>: MS-DOS kermit 3.14? This is driving me crazy because I have a script that
>: works fine in C-kermit but won't work in ms-dos kermit.
>:
>Curly braces are special only when at the beginning and end of the OUTPUT
>string:
>
> OUTPUT {foo} sends foo
> OUTPUT {{foo}} sends {foo}
>
>As you have noticed, this is different from C-Kermit, which does not strip
>braces from the OUTPUT string at all, and so in C-Kermit:
>
> OUTPUT {foo} sends {foo}
> OUTPUT {{foo}} sends {{foo}}
>
>So yes, this is an inconsistency.
>
>When braces are other positions, the behavior is consistent:
>
> OUTPUT foo{}bar sends foo{}bar
>
>- Frank
I know this would require you to revise your existing scripts, but for
portability, would it be possible to use \123 ( == "{" ) and
\125 ( == "}" )? It has the disadvantage of not being as
straightforward, and it would therefore need comments to explain what
they are (for well-written scripts, anyway). Or you may need to use
\{123} and \{125}, depending on context.
I can't run MSK, so I couldn't tell ya if it works...just a caveat
emptor suggestion.
--
Oooooo-oooo-oooo-ooooo, Oooooo-oooo-oooo-ooooo, Ooooo-weem-oh-wum-ooo-ayyy
In the jungle, the silicon jungle, the process sleeps tonight.
Joe Philipps <rchandra-nospam@letter.com> http://www.servtech.com/~rchandra/
You know what you have to do to send email to me successfully :^)